#ifndef E6ANA_H
#define E6ANA_H

#include "base/EvtData.h"
#include "base/Analysis.h"
#include <vector>


struct DBRecoEvt{//(Di Bosons) Reconstructed Event structure with 2 Bosons (W,Z) W->jets ; Z->eebar
  
  particle quark;
  particle antiquark;
  double deltaM;
  std::vector<particle> WConstituents;//
  std::vector<particle> ZConstituents;//
  particle ZCandidate;//
  particle WCandidate;//
  std::vector<particle> promptJets;//


};



class E6ANA : public Analysis{

public :
  E6ANA();
  virtual ~E6ANA();
  virtual void Execute();
  std::vector<DBRecoEvt> recoEvts;
  static bool findMin(DBRecoEvt,DBRecoEvt);
  static bool maxPt(DBRecoEvt,DBRecoEvt);
  
};

#endif
